<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:54:"/www/wwwroot/lc/application/admin/view/user/czlog.html";i:1553234650;s:54:"/www/wwwroot/lc/application/admin/view/public/top.html";i:1553234650;}*/ ?>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
<link href="/public/admin/login/css/public.css" type="text/css" rel="stylesheet">
<link href="/public/admin/login/css/style.css" type="text/css" rel="stylesheet">

<script type="text/javascript" src="/public/index/js/jquery.js"></script>
<script src="/public/admin/login/js/admin.js"></script>
<script src="/public/admin/login/js/jquery-ui.min.js"></script>
</head>
<body>
<style>
.pagination li{
float:left;
}
</style>

<div class="pad">
<div class="breadNav">
  <div class="flt breadNav_text"> <span>会员</span><i></i><span>会员日志</span><i></i><span>用户充值</span> </div>
  <div class="frt breadNav_other">
    <div class="bn_input theme-pop-btn">
      <form method="get" action="<?php echo url('user/czlog'); ?>">
        <div class="bn_input">用户ID：
          <input type="text" name="id" value="<?php echo $idf; ?>" class="text">
        </div>
        <div class="bn_input">
          <input type="submit" class="pub_btn" value="搜索">
        </div>
      </form>
	  <a  href="<?php echo url('user/czlog',array('id'=>$idf,'state'=>'0')); ?>"  class="pub_btn">未处理</a>
	   <a  href="<?php echo url('user/czlog',array('id'=>$idf,'state'=>'1')); ?>"  class="pub_btn">成功</a>
	    <a  href="<?php echo url('user/czlog',array('id'=>$idf,'state'=>'2')); ?>"  class="pub_btn">失败</a>
      <div class="bn_input"></div>
    </div>
    <div class="clear"></div>
  </div>
</div>
<form target="zhuchuang_frm" method="post">
<div class="daemonTable">
  <table class="table_data daemon_data" cellpadding="0" cellspacing="0">
    <tbody><tr class="">
      <th class="w-100"> 序号 </th>
      <th class="w-100">用户ID</th>
	   <th class="w-50">订单号</th>
	  <th class="w-50">金额</th>
      <th class="w-50">类型</th>
      
      <th class="w-200">时间</th>
     <th class="w-200">状态</th>
      <th class="w-200"> 操作 </th>
    </tr>
	<?php if(is_array($log) || $log instanceof \think\Collection || $log instanceof \think\Paginator): $i = 0; $__LIST__ = $log;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
    <tr class="cred">
        <td><?php echo $vo['id']; ?></td>
        <td>【<a class="linkcl"  href="<?php echo url('user/czlog',array('id'=>$vo['userid'])); ?>">UID:<?php echo membername($vo['userid']); ?></a>】</td>
			<td><?php echo $vo['number']; ?></td>
        <td><?php echo $vo['money']; ?></td>
	
		<td><?php echo paytype($vo['paytype'],$pay); ?></td>
        
        <td><?php echo $vo['addtime']; ?></td>
		<td><?php if($vo['state'] == '0'): ?>  <font color='red'>待处理</font><?php elseif($vo['state'] == '1'): ?> <font color='green'>成功</font><?php else: ?>失败<?php endif; ?></td>
		 <td> <?php if($vo['state'] == '0'): ?>  <a  href="<?php echo url('user/czlogcl',array('id'=>$vo['id'],'state'=>'1')); ?>"  class="pub_btn">成功</a><a  href="<?php echo url('user/czlogcl',array('id'=>$vo['id'],'state'=>'2')); ?>" class="pub_btn">失败</a> <?php else: ?>已处理<?php endif; ?></td>
      </tr> <?php endforeach; endif; else: echo "" ;endif; ?>
	  
      </tbody></table>
</div>
  
<div class="daemonBot">
<div class="frt daemonPage">      <?php echo $log->render(); ?>       </div>
  <div class="flt daemonBot_cz"> </div>
  <div class="frt daemonPage">  </div>
  <div class="clear"></div>
</div>
</form></div>
<div class="theme-popover">   
</div>
<div class="theme-popover-mask"></div>



</html>